﻿using Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.CoinEntities
{
    [Table("pool_coins")]
    public class PoolCoinEntity
    {
        [Key]
        [Column("id")]
        public int id { get; set; }

        [Column("primarycode")]
        public string primarycode { get; set; }

        [Column("secondarycode")]
        public string secondarycode { get; set; }

        [Column("avg")]
        public double avg { get; set; }

        [Column("low")]
        public double low { get; set; }

        [Column("high")]
        public double high { get; set; }

        [Column("vol")]
        public double vol { get; set; }

        [Column("markets")]
        public string markets { get; set; }

        [Column("created")]
        public DateTime created { get; set; }

        [Column("stddevavg")]
        public double stddevavg { get; set; }

        [Column("stddevlow")]
        public double stddevlow { get; set; }

        [Column("stddevhigh")]
        public double stddevhigh { get; set; }
    }
}
